package com.study.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 角色表和权限表的关系表 sys_role_permission
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class RolePermission {
    /**
     * 序列号
     */
    private Integer id;
    /**
     * 角色ID
     */
    private Integer roleId;
    /**
     * 资源ID
     */
    private Integer permissionId;
}
